package IO;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 26727
 * Date: 2024-06-21
 * Time: 18:43
 */
public class IODemo7 {
    public static void main(String[] args) {
        try(OutputStream outputStream = new FileOutputStream("d:/student.txt")) {
            outputStream.write(100);
            outputStream.write(101);
            outputStream.write(102);
        } catch(IOException e) {
            e.printStackTrace();
        }
    }
}
